<?php if ($command == "done"): ?>
	<?php include_partial('common/flashes') ?>
	<script type="text/javascript">
		//[CDATA[
		$(document).ready(function(){
			// redirect to the home page
			redirectToHome();
		});
		//]]
	</script>
<?php else: ?>
	<div id="header-confirm-your-mobile-phone">
		<?php include_partial("progress_bar") ?>
		<form id="step-three-form" action="<?php echo url_for('/doctor-register-step-three/' . $contact->getId() . '/stay') ?>" method="post">
			<?php echo $form->renderHiddenFields(false) ?>
			<div class="imperative">By now you should have received the verification code on your phone from us?</div>
			<?php include_partial("common/input_field", array("form" => $form, "field" => "mobile_activation_code")) ?>
            <div class="clearfix">
                <label>No, I haven't received anything!</label>
                <div class="input">
                    <div class="value">
                        Don't worry, you can still <a href="javascript:;" id="try-again">do another try here</a>!
                    </div>
                </div>
            </div>
			<div class="row">
				<ul>
					<li>
						<button id="submit-step-three" type="submit" class="blue-button-30">Submit</button>
					</li>
				</ul>
			</div>
		</form>
	</div>
<?php endif; ?>